import 'package:json_annotation/json_annotation.dart';

part 'swiper_bean.g.dart';

@JsonSerializable(nullable: false)
class SwiperBean{

  @JsonKey(name: 'imageId')
  String imageId;

  @JsonKey(name: 'imagePath')
  String imagePath;

  SwiperBean(this.imageId, this.imagePath);

  factory SwiperBean.fromJson(Map<String, dynamic> json) => _$SwiperBeanFromJson(json);

  Map<String, dynamic> toJson() => _$SwiperBeanToJson(this);
}